package com.yuntuzhilian.chapter4.demo2;

/**
 * @author MrWang-shuizhishuiheshui
 * @description
 */
public class Test {
    public static void main(String[] args) {
        //创建线程对象
        MyThread myThread=new MyThread();
        MyThread myThread1=new MyThread();
        //启动子线程
//        myThread.start();
//        myThread1.start();
        myThread.run();
        myThread1.run();
    }
}
